# -*- coding: UTF-8 -*-

# 初始化字典
print "\n------ 初始化字典 ------"
# dict = {"a": "aa", "b": "bb"}
# print dict
# print dict["a"]
# # print dict["d"]
#
# # 更新 or 新增
# dict["a"] = "jj"  # 更新
# dict["c"] = "mm"  # 新增
# print dict
#
# # 删除字典元素
# dict = {"a": "aa", "b": "bb"}
# del dict["a"]  # 删除键是'a'的条目
# print dict
# dict.clear()  # 清空词典所有条目
# print dict
# del dict  # 删除词典
# print dict

